<%-- 
    Document   : sesion.Logout
    Created on : 26-mar-2012, 12:29:32
    Author     : bernardo
--%>

<%
    try
    {
        //Logout - cerrar sesion
        session.invalidate();
        out.println("<script>");
            out.println("document.location='../index.jsp'");
        out.println("</script>");
    }
    catch(Exception ex)
    {
        %><script>alert('<%=ex.getMessage()%>');</script><%
    }
%>
